/*
 * @Author: 胡晓星
 * @Date: 2024-09-09 18:06:15
 * @LastEditors: 491256909@qq.com
 * @LastEditTime: 2025-08-12 17:33:16
 * @FilePath: -serve\src\modules\teams\teams.entity.ts
 * @Description: 
 */

import {
  Column,
  CreateDateColumn,
  Entity,
  IsNull,
  JoinTable,
    ManyToMany,
  OneToOne,
  PrimaryGeneratedColumn,
  UpdateDateColumn,
} from 'typeorm';
@Entity()
export class Teams {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ length: 50 })
  name: string;

  @Column({ length: 50 })
  group_name: string;

  @Column({ default: 7 })
  session: number;

  @Column({ default: 'http://www.rsba.top/m/favicon.png' })
  logo_url: string;
}
